home *** CD-ROM | disk | FTP | other *** search
/ GFX Sensations 1 / Graphic Sensations - Volume 1.iso / tools / amiga / show / jpegaga.lha / jpegaga / doc / jpeg / README.AMIGA < prev    next >
Encoding:
Text File  |  1994-04-20  |  1.1 KB  |  34 lines

  1. The files cjpeg and djpeg are created using version 4 of the 
  2. Independent JPEG Group's JPEG software. (jpegsrc.V4.tar.Z)
  3. I made no changes to the original distribution but I created
  4. the makefile for gcc on the Amiga.
  5.  
  6. NOTE: The 68020 version compiled with Aztec C 5.2a using full
  7. optimization does not work. Therefore I released only the executables
  8. created with gcc. (I used version 2.5.8)
  9.  
  10.  
  11.  
  12. To recompile djpeg and cjpeg with gcc:
  13.  
  14. - copy all the files of the JPEG distribution into one directory
  15.  
  16. - copy the file makefile.gcc.amiga to this directory
  17.  
  18. - rename jmemname.c to jmemsys.c
  19.  
  20. - edit the include file stdlib.h and set EXIT_FAILURE to 10
  21.  
  22. - edit the file makefile.gcc.amiga and set the compiler options
  23.   according to your processor model
  24.  
  25. - enter "make -f makefile.gcc.amiga" to create cjpeg and djpeg
  26.  
  27. - enter "make -f makefile.gcc.amiga test" to test if the programs
  28.   really work (you need the command cmp into your search path)
  29.   You should not get any error messages.
  30.  
  31. - to reduce the size of the binaries remove the symbol hunks
  32.   (for example with the program stripa from the developer disks
  33.   released by Commodore)
  34.